package uk.ac.staffs.student.autopilot;

public class SerialPortStatus {

    protected String comPort;
    protected int dataRate;
    protected boolean isConnected;

    /**
     * @param comPort
     * @param dataRate
     * @param isConnected
     */
    public SerialPortStatus(final String comPort, final int dataRate,
            final boolean isConnected) {
        this.comPort = comPort;
        this.dataRate = dataRate;
        this.isConnected = isConnected;
    }

    public String getComPort() {
        return comPort;
    }

    public int getDataRate() {
        return dataRate;
    }

    public boolean isConnected() {
        return isConnected;
    }
}
